// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Do a construction for mission
// -----------------------------------------------

private ["_object"];

_object = _this select 0;

wcgarbage = [localize "Build a construction", localize "STR_WC_MESSAGEBUILDING", localize "STR_WC_MESSAGEBUILDINGINFORMATION", 8] spawn WC_fnc_playerhint;
player playMove "AinvPknlMstpSlayWrflDnon_medic";
sleep 8;

if !(alive player) exitWith {};

_object setVariable ["wcbuild", true, true];

//A3 TODO: setVehicleInit
_object setVehicleInit "this removeAction 0;";
processInitCommands;